<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- /* ::meta, ::title, ::link, ::style, ::script */ -->
<head th:replace="fragment :: common_head(~{::meta},~{::title},~{},~{},~{})">
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>首页</title>
</head>
<body>
<!-- fragment 是 thymeleaf 视图解析器识别的视图名 -->
<header id="header" th:replace="fragment :: header"></header>

<a href="" th:href="@{/employee/list}">其他页面</a>

<div id="root"></div>

<div id="content">
	<h2>首页</h2>
	<p th:text="|Author: ${author}|"></p>
	<p th:utext="#{index.welcome(${date})}">Welcome message</p>
	<!--/*@thymesVar id="date" type="java.util.Date"*/-->
	time:<span th:text="${date}"></span><br>
	time:<span th:text="${{date}}"></span><br>
	<!-- 时间格式化 -->
	time:<span th:text="${#dates.format(date, 'yyyy-MM-dd HH:mm:ss')}"></span><br>
	country: <span th:text="${#locale.country}"></span>
</div>

<footer id="footer" th:replace="fragment :: footer"></footer>
<script type="text/javascript" th:src="@{/assets/js/index.js}"></script>
</body>
</html>

